<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>轮回之牢: IceElemental类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">轮回之牢<span id="projectnumber">&#160;0.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_ice_elemental-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">IceElemental类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>冰精灵  
 <a href="class_ice_elemental.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_ice_elemental_8h_source.html">IceElemental.h</a>&gt;</code></p>
<div class="dynheader">
类 IceElemental 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_ice_elemental__inherit__graph.png" border="0" usemap="#a_ice_elemental_inherit__map" alt="Inheritance graph"/></div>
<map name="a_ice_elemental_inherit__map" id="a_ice_elemental_inherit__map">
<area shape="rect" title="冰精灵" alt="" coords="5,155,103,181"/>
<area shape="rect" href="class_base_mob.html" title="怪物类的基类" alt="" coords="15,80,93,107"/>
<area shape="rect" href="class_actor.html" title="角色基类" alt="" coords="27,5,81,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<div class="dynheader">
IceElemental 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="class_ice_elemental__coll__graph.png" border="0" usemap="#a_ice_elemental_coll__map" alt="Collaboration graph"/></div>
<map name="a_ice_elemental_coll__map" id="a_ice_elemental_coll__map">
<area shape="rect" title="冰精灵" alt="" coords="157,336,255,363"/>
<area shape="rect" href="class_base_mob.html" title="怪物类的基类" alt="" coords="167,260,245,287"/>
<area shape="rect" href="class_actor.html" title="角色基类" alt="" coords="130,171,183,197"/>
<area shape="rect" href="class_point.html" title="二维点" alt="" coords="5,81,57,108"/>
<area shape="rect" href="class_vector.html" title="二维向量" alt="" coords="81,81,141,108"/>
<area shape="rect" href="class_base_weapon.html" title="武器基类" alt="" coords="165,81,265,108"/>
<area shape="rect" href="class_base_item.html" title="物品基类" alt="" coords="177,5,254,32"/>
<area shape="rect" href="class_mob_drop_bag.html" title="怪物掉落物背包" alt="" coords="243,171,340,197"/>
<area shape="rect" href="class_base_bag.html" title="背包基类" alt="" coords="290,81,365,108"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a35aa4baaf734fded6a7d8f4dfa7b3c4e"><td class="memItemLeft" align="right" valign="top"><a id="a35aa4baaf734fded6a7d8f4dfa7b3c4e" name="a35aa4baaf734fded6a7d8f4dfa7b3c4e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>IceElemental</b> (const <a class="el" href="class_point.html">Point</a> &amp;pos, double width=30, double height=45, int maxHealth=40, int maxMagic=30, double gravity=Const::DefaultGravity, double velocityXMax=2.5, double velocityYMax=2.5, double jumpVelocityYMax=15, double velocityXReduceRadio=0.6, double velocityYReduceRadio=0.6)</td></tr>
<tr class="separator:a35aa4baaf734fded6a7d8f4dfa7b3c4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad91d05e67fff84ed47b7ff2d1c28ed92"><td class="memItemLeft" align="right" valign="top">GameObject&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ice_elemental.html#ad91d05e67fff84ed47b7ff2d1c28ed92">getGameObjectType</a> () const override</td></tr>
<tr class="separator:ad91d05e67fff84ed47b7ff2d1c28ed92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_base_mob"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_base_mob')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_base_mob.html">BaseMob</a></td></tr>
<tr class="memitem:ae52ca5b52d948d11495caaecd58c3363 inherit pub_methods_class_base_mob"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_mob.html#ae52ca5b52d948d11495caaecd58c3363">BaseMob</a> (const <a class="el" href="class_point.html">Point</a> &amp;pos, double width=45, double height=60, int max_health=80, int max_magic=30, double gravity=Const::DefaultGravity, double velocity_x_max=1.5, double velocity_y_max=1.5, double jump_velocity_y_max=15, double velocity_x_reduce_radio=0.4, double velocity_y_reduce_radio=0.4)</td></tr>
<tr class="separator:ae52ca5b52d948d11495caaecd58c3363 inherit pub_methods_class_base_mob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a527df6361cb4e6b9385c978d1b608192 inherit pub_methods_class_base_mob"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_mob.html#a527df6361cb4e6b9385c978d1b608192">isPlayer</a> () const override</td></tr>
<tr class="separator:a527df6361cb4e6b9385c978d1b608192 inherit pub_methods_class_base_mob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3265b2eb8088cae0e5cad35e4974541 inherit pub_methods_class_base_mob"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_mob.html#aa3265b2eb8088cae0e5cad35e4974541">BaseMob</a> (const <a class="el" href="class_base_mob.html">BaseMob</a> &amp;other)</td></tr>
<tr class="separator:aa3265b2eb8088cae0e5cad35e4974541 inherit pub_methods_class_base_mob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4b3326a103b23a7807f62818e1337f1 inherit pub_methods_class_base_mob"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_drop_object.html">DropObject</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_mob.html#ac4b3326a103b23a7807f62818e1337f1">dropObject</a> ()</td></tr>
<tr class="separator:ac4b3326a103b23a7807f62818e1337f1 inherit pub_methods_class_base_mob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_actor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_actor')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_actor.html">Actor</a></td></tr>
<tr class="memitem:a2dea4d3df5f9ad75038fee99e820f2e7 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_point.html">Point</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a2dea4d3df5f9ad75038fee99e820f2e7">getPos</a> () const</td></tr>
<tr class="memdesc:a2dea4d3df5f9ad75038fee99e820f2e7 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取位置  <a href="class_actor.html#a2dea4d3df5f9ad75038fee99e820f2e7">更多...</a><br /></td></tr>
<tr class="separator:a2dea4d3df5f9ad75038fee99e820f2e7 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93e625a4b49a79b02c7bc35a365210c5 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a93e625a4b49a79b02c7bc35a365210c5">setPos</a> (const <a class="el" href="class_point.html">Point</a> &amp;pos_)</td></tr>
<tr class="memdesc:a93e625a4b49a79b02c7bc35a365210c5 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置位置  <a href="class_actor.html#a93e625a4b49a79b02c7bc35a365210c5">更多...</a><br /></td></tr>
<tr class="separator:a93e625a4b49a79b02c7bc35a365210c5 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b8f6189dfcbd3f5efd9d6437ff2a47e inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a3b8f6189dfcbd3f5efd9d6437ff2a47e">getWidth</a> () const</td></tr>
<tr class="memdesc:a3b8f6189dfcbd3f5efd9d6437ff2a47e inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取宽度  <a href="class_actor.html#a3b8f6189dfcbd3f5efd9d6437ff2a47e">更多...</a><br /></td></tr>
<tr class="separator:a3b8f6189dfcbd3f5efd9d6437ff2a47e inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa95bc73ca018b158432bafd267df8aa inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#aaa95bc73ca018b158432bafd267df8aa">setWidth</a> (double width_)</td></tr>
<tr class="memdesc:aaa95bc73ca018b158432bafd267df8aa inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置宽度  <a href="class_actor.html#aaa95bc73ca018b158432bafd267df8aa">更多...</a><br /></td></tr>
<tr class="separator:aaa95bc73ca018b158432bafd267df8aa inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209f3ce85bf183ac91f637a523308211 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a209f3ce85bf183ac91f637a523308211">getHeight</a> () const</td></tr>
<tr class="memdesc:a209f3ce85bf183ac91f637a523308211 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取高度  <a href="class_actor.html#a209f3ce85bf183ac91f637a523308211">更多...</a><br /></td></tr>
<tr class="separator:a209f3ce85bf183ac91f637a523308211 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa39d35feb4a212e7c1a5cad8f5afdd29 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#aa39d35feb4a212e7c1a5cad8f5afdd29">setHeight</a> (double height_)</td></tr>
<tr class="memdesc:aa39d35feb4a212e7c1a5cad8f5afdd29 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置高度  <a href="class_actor.html#aa39d35feb4a212e7c1a5cad8f5afdd29">更多...</a><br /></td></tr>
<tr class="separator:aa39d35feb4a212e7c1a5cad8f5afdd29 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02d153452eb8ea3dc2e2de666935471f inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a02d153452eb8ea3dc2e2de666935471f">getHealth</a> () const</td></tr>
<tr class="memdesc:a02d153452eb8ea3dc2e2de666935471f inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取体力  <a href="class_actor.html#a02d153452eb8ea3dc2e2de666935471f">更多...</a><br /></td></tr>
<tr class="separator:a02d153452eb8ea3dc2e2de666935471f inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1b9976a87b36c45c3477ea84ce48f64 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#ac1b9976a87b36c45c3477ea84ce48f64">setHealth</a> (int health_)</td></tr>
<tr class="memdesc:ac1b9976a87b36c45c3477ea84ce48f64 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置体力  <a href="class_actor.html#ac1b9976a87b36c45c3477ea84ce48f64">更多...</a><br /></td></tr>
<tr class="separator:ac1b9976a87b36c45c3477ea84ce48f64 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2a0993bd36727f8c1fca81229adee9f inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#ad2a0993bd36727f8c1fca81229adee9f">getMaxHealth</a> () const</td></tr>
<tr class="memdesc:ad2a0993bd36727f8c1fca81229adee9f inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取最大体力  <a href="class_actor.html#ad2a0993bd36727f8c1fca81229adee9f">更多...</a><br /></td></tr>
<tr class="separator:ad2a0993bd36727f8c1fca81229adee9f inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a376906c0882341e0429ebfff529678d8 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a376906c0882341e0429ebfff529678d8">setMaxHealth</a> (int maxHealth)</td></tr>
<tr class="memdesc:a376906c0882341e0429ebfff529678d8 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置最大体力  <a href="class_actor.html#a376906c0882341e0429ebfff529678d8">更多...</a><br /></td></tr>
<tr class="separator:a376906c0882341e0429ebfff529678d8 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c6c580cc35219af5988955e30fb1e91 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a2c6c580cc35219af5988955e30fb1e91">getMagic</a> () const</td></tr>
<tr class="memdesc:a2c6c580cc35219af5988955e30fb1e91 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取魔法值，暂时废弃  <a href="class_actor.html#a2c6c580cc35219af5988955e30fb1e91">更多...</a><br /></td></tr>
<tr class="separator:a2c6c580cc35219af5988955e30fb1e91 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cb95a7730ab6862037312ac6854294a inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a0cb95a7730ab6862037312ac6854294a">setMagic</a> (int magic_)</td></tr>
<tr class="memdesc:a0cb95a7730ab6862037312ac6854294a inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置魔法值，暂时废弃  <a href="class_actor.html#a0cb95a7730ab6862037312ac6854294a">更多...</a><br /></td></tr>
<tr class="separator:a0cb95a7730ab6862037312ac6854294a inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a617b9559c0b50cf49ec148a9a932cbf9 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a617b9559c0b50cf49ec148a9a932cbf9">getMaxMagic</a> () const</td></tr>
<tr class="memdesc:a617b9559c0b50cf49ec148a9a932cbf9 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取最大魔法值，暂时废弃  <a href="class_actor.html#a617b9559c0b50cf49ec148a9a932cbf9">更多...</a><br /></td></tr>
<tr class="separator:a617b9559c0b50cf49ec148a9a932cbf9 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a7ab69535dea44d4e486009c7f194f4 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a5a7ab69535dea44d4e486009c7f194f4">setMaxMagic</a> (int maxMagic)</td></tr>
<tr class="memdesc:a5a7ab69535dea44d4e486009c7f194f4 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置最大魔法值，暂时废弃  <a href="class_actor.html#a5a7ab69535dea44d4e486009c7f194f4">更多...</a><br /></td></tr>
<tr class="separator:a5a7ab69535dea44d4e486009c7f194f4 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab474e98b6994878deb75adf601fb829b inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#ab474e98b6994878deb75adf601fb829b">getGravity</a> () const</td></tr>
<tr class="memdesc:ab474e98b6994878deb75adf601fb829b inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取重力，单位：像素/（帧 x 帧）  <a href="class_actor.html#ab474e98b6994878deb75adf601fb829b">更多...</a><br /></td></tr>
<tr class="separator:ab474e98b6994878deb75adf601fb829b inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add5c4d8e6c3ad1442fef5aaa2e7c79a2 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#add5c4d8e6c3ad1442fef5aaa2e7c79a2">setGravity</a> (double gravity_)</td></tr>
<tr class="memdesc:add5c4d8e6c3ad1442fef5aaa2e7c79a2 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置重力，单位：像素/（帧 x 帧）  <a href="class_actor.html#add5c4d8e6c3ad1442fef5aaa2e7c79a2">更多...</a><br /></td></tr>
<tr class="separator:add5c4d8e6c3ad1442fef5aaa2e7c79a2 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae30d82fc88cd743ad1817ca8433f3e9 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_vector.html">Vector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#aae30d82fc88cd743ad1817ca8433f3e9">getVelocity</a> () const</td></tr>
<tr class="memdesc:aae30d82fc88cd743ad1817ca8433f3e9 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取速度  <a href="class_actor.html#aae30d82fc88cd743ad1817ca8433f3e9">更多...</a><br /></td></tr>
<tr class="separator:aae30d82fc88cd743ad1817ca8433f3e9 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea7c3c77f73eb4501db69be7b7123dc inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#abea7c3c77f73eb4501db69be7b7123dc">setVelocity</a> (const <a class="el" href="class_vector.html">Vector</a> &amp;velocity_)</td></tr>
<tr class="memdesc:abea7c3c77f73eb4501db69be7b7123dc inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置速度  <a href="class_actor.html#abea7c3c77f73eb4501db69be7b7123dc">更多...</a><br /></td></tr>
<tr class="separator:abea7c3c77f73eb4501db69be7b7123dc inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6bf16355014a92d0feb17bae987467f inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#ac6bf16355014a92d0feb17bae987467f">getVelocityXMax</a> () const</td></tr>
<tr class="memdesc:ac6bf16355014a92d0feb17bae987467f inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">X方向最大速度  <a href="class_actor.html#ac6bf16355014a92d0feb17bae987467f">更多...</a><br /></td></tr>
<tr class="separator:ac6bf16355014a92d0feb17bae987467f inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84e8665ea31b77b8cf7f8c1f33e2e465 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a84e8665ea31b77b8cf7f8c1f33e2e465">setVelocityXMax</a> (double velocityXMax)</td></tr>
<tr class="memdesc:a84e8665ea31b77b8cf7f8c1f33e2e465 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置X方向最大速度  <a href="class_actor.html#a84e8665ea31b77b8cf7f8c1f33e2e465">更多...</a><br /></td></tr>
<tr class="separator:a84e8665ea31b77b8cf7f8c1f33e2e465 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28505a997961eaff9b7580928741d769 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a28505a997961eaff9b7580928741d769">getVelocityYMax</a> () const</td></tr>
<tr class="memdesc:a28505a997961eaff9b7580928741d769 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Y方向最大速度  <a href="class_actor.html#a28505a997961eaff9b7580928741d769">更多...</a><br /></td></tr>
<tr class="separator:a28505a997961eaff9b7580928741d769 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6799282333780ec6b10b47755b2c9e4 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#ac6799282333780ec6b10b47755b2c9e4">setVelocityYMax</a> (double velocityYMax)</td></tr>
<tr class="memdesc:ac6799282333780ec6b10b47755b2c9e4 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置Y方向最大速度  <a href="class_actor.html#ac6799282333780ec6b10b47755b2c9e4">更多...</a><br /></td></tr>
<tr class="separator:ac6799282333780ec6b10b47755b2c9e4 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affb25c5c54721913503e9ec2b55de605 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#affb25c5c54721913503e9ec2b55de605">getId</a> () const</td></tr>
<tr class="memdesc:affb25c5c54721913503e9ec2b55de605 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取角色id，全局唯一  <a href="class_actor.html#affb25c5c54721913503e9ec2b55de605">更多...</a><br /></td></tr>
<tr class="separator:affb25c5c54721913503e9ec2b55de605 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a788a6a10dc9d873fd5c87a02a83ab927 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a788a6a10dc9d873fd5c87a02a83ab927">getJumpVelocityYMax</a> () const</td></tr>
<tr class="memdesc:a788a6a10dc9d873fd5c87a02a83ab927 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取Y方向跳跃最大速度  <a href="class_actor.html#a788a6a10dc9d873fd5c87a02a83ab927">更多...</a><br /></td></tr>
<tr class="separator:a788a6a10dc9d873fd5c87a02a83ab927 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afff73acb5f0993cff544fafaf3012554 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#afff73acb5f0993cff544fafaf3012554">setJumpVelocityYMax</a> (double jumpVelocityYMax)</td></tr>
<tr class="memdesc:afff73acb5f0993cff544fafaf3012554 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置Y方向跳跃最大速度  <a href="class_actor.html#afff73acb5f0993cff544fafaf3012554">更多...</a><br /></td></tr>
<tr class="separator:afff73acb5f0993cff544fafaf3012554 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c66efdc540060dd60903b40b968ddfc inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a1c66efdc540060dd60903b40b968ddfc">getVelocityXReduceRadio</a> () const</td></tr>
<tr class="memdesc:a1c66efdc540060dd60903b40b968ddfc inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取X方向的强制减速因子，当碰撞发生时，首先启用减速因子进行强制减速  <a href="class_actor.html#a1c66efdc540060dd60903b40b968ddfc">更多...</a><br /></td></tr>
<tr class="separator:a1c66efdc540060dd60903b40b968ddfc inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97a2bebbcb5fe4fa31829ec3632a82a6 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a97a2bebbcb5fe4fa31829ec3632a82a6">setVelocityXReduceRadio</a> (double velocityXReduceRadio)</td></tr>
<tr class="memdesc:a97a2bebbcb5fe4fa31829ec3632a82a6 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置X方向的强制减速因子，当碰撞发生时，首先启用减速因子进行强制减速  <a href="class_actor.html#a97a2bebbcb5fe4fa31829ec3632a82a6">更多...</a><br /></td></tr>
<tr class="separator:a97a2bebbcb5fe4fa31829ec3632a82a6 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1b0c14d118779ba75f25c538879eb2f inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#ad1b0c14d118779ba75f25c538879eb2f">getVelocityYReduceRadio</a> () const</td></tr>
<tr class="memdesc:ad1b0c14d118779ba75f25c538879eb2f inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取Y方向的强制减速因子，当碰撞发生时，首先启用减速因子进行强制减速  <a href="class_actor.html#ad1b0c14d118779ba75f25c538879eb2f">更多...</a><br /></td></tr>
<tr class="separator:ad1b0c14d118779ba75f25c538879eb2f inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adad38d3b0b2d472de1df311b046c767f inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#adad38d3b0b2d472de1df311b046c767f">setVelocityYReduceRadio</a> (double velocityYReduceRadio)</td></tr>
<tr class="memdesc:adad38d3b0b2d472de1df311b046c767f inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置Y方向的强制减速因子，当碰撞发生时，首先启用减速因子进行强制减速  <a href="class_actor.html#adad38d3b0b2d472de1df311b046c767f">更多...</a><br /></td></tr>
<tr class="separator:adad38d3b0b2d472de1df311b046c767f inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6916056aa9b881c02b8fa361f633726 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#ab6916056aa9b881c02b8fa361f633726">doAttackRefreshAndAttack</a> (bool attack, class <a class="el" href="class_rectangle.html">Rectangle</a> &amp;rec, int &amp;knock_back_instance, int &amp;power)</td></tr>
<tr class="memdesc:ab6916056aa9b881c02b8fa361f633726 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">刷新攻击冷却并根据传入的attack攻击  <a href="class_actor.html#ab6916056aa9b881c02b8fa361f633726">更多...</a><br /></td></tr>
<tr class="separator:ab6916056aa9b881c02b8fa361f633726 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d62464dde4d510d0ad2e740cd86928e inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">BaseStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a5d62464dde4d510d0ad2e740cd86928e">getStatus</a> (bool onGround, bool isAttack) const</td></tr>
<tr class="memdesc:a5d62464dde4d510d0ad2e740cd86928e inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取角色状态  <a href="class_actor.html#a5d62464dde4d510d0ad2e740cd86928e">更多...</a><br /></td></tr>
<tr class="separator:a5d62464dde4d510d0ad2e740cd86928e inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c0ff6a2feb7b06447a8124b7beedf94 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a0c0ff6a2feb7b06447a8124b7beedf94">attackBy</a> (int power)</td></tr>
<tr class="memdesc:a0c0ff6a2feb7b06447a8124b7beedf94 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">角色被攻击时调用  <a href="class_actor.html#a0c0ff6a2feb7b06447a8124b7beedf94">更多...</a><br /></td></tr>
<tr class="separator:a0c0ff6a2feb7b06447a8124b7beedf94 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8203c230434dd84b793691d0cbf7c7c inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="ab8203c230434dd84b793691d0cbf7c7c" name="ab8203c230434dd84b793691d0cbf7c7c"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>getFace</b> () const</td></tr>
<tr class="separator:ab8203c230434dd84b793691d0cbf7c7c inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ea6c36914fd0298237c6f5cba62d72d inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a5ea6c36914fd0298237c6f5cba62d72d">moveX</a> (<a class="el" href="class_actor.html#a2315aa20cdd86580a3936e58f796289a">Actor::Move_Type_X</a> typeX)</td></tr>
<tr class="memdesc:a5ea6c36914fd0298237c6f5cba62d72d inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">角色沿X方向移动  <a href="class_actor.html#a5ea6c36914fd0298237c6f5cba62d72d">更多...</a><br /></td></tr>
<tr class="separator:a5ea6c36914fd0298237c6f5cba62d72d inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4aafa27c1aeab8e2dbb2adeb43848c7 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#ae4aafa27c1aeab8e2dbb2adeb43848c7">moveY</a> (<a class="el" href="class_actor.html#aca69a1a886cbf8c0a9ac8998d59bd1ea">Actor::Move_Type_Y</a> typeY, bool onGround, bool can_climb)</td></tr>
<tr class="memdesc:ae4aafa27c1aeab8e2dbb2adeb43848c7 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">角色沿Y方向移动  <a href="class_actor.html#ae4aafa27c1aeab8e2dbb2adeb43848c7">更多...</a><br /></td></tr>
<tr class="separator:ae4aafa27c1aeab8e2dbb2adeb43848c7 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0df4fa071b363c6bf9906c3fc13db27 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="aa0df4fa071b363c6bf9906c3fc13db27" name="aa0df4fa071b363c6bf9906c3fc13db27"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Actor</b> (const <a class="el" href="class_point.html">Point</a> &amp;pos, const <a class="el" href="class_vector.html">Vector</a> &amp;velocity, double width, double height, int max_health, int max_magic, double gravity, double velocity_x_max, double velocity_y_max, double jump_velocity_y_max, double velocity_x_reduce_radio, double velocity_y_reduce_radio)</td></tr>
<tr class="separator:aa0df4fa071b363c6bf9906c3fc13db27 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa5f6edbdb5f39180da145c35512ffbf inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="aaa5f6edbdb5f39180da145c35512ffbf" name="aaa5f6edbdb5f39180da145c35512ffbf"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Actor</b> (const <a class="el" href="class_actor.html">Actor</a> &amp;other)</td></tr>
<tr class="separator:aaa5f6edbdb5f39180da145c35512ffbf inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ae8d377cd046d2908a3be20022c53ea inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a3ae8d377cd046d2908a3be20022c53ea">isAttackLasting</a> () const</td></tr>
<tr class="memdesc:a3ae8d377cd046d2908a3be20022c53ea inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前攻击是否持续，攻击动画往往需要播放多帧  <a href="class_actor.html#a3ae8d377cd046d2908a3be20022c53ea">更多...</a><br /></td></tr>
<tr class="separator:a3ae8d377cd046d2908a3be20022c53ea inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae9736661b3b289fd27af8956e42a97 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#afae9736661b3b289fd27af8956e42a97">getAttackRange</a> () const</td></tr>
<tr class="memdesc:afae9736661b3b289fd27af8956e42a97 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取攻击范围，单位：帧  <a href="class_actor.html#afae9736661b3b289fd27af8956e42a97">更多...</a><br /></td></tr>
<tr class="separator:afae9736661b3b289fd27af8956e42a97 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa530a5e2363072f7d16b30481984fcf2 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_base_weapon.html">BaseWeapon</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#aa530a5e2363072f7d16b30481984fcf2">getWeapon</a> () const</td></tr>
<tr class="memdesc:aa530a5e2363072f7d16b30481984fcf2 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取角色武器的常量指针，参见武器类  <a href="class_actor.html#aa530a5e2363072f7d16b30481984fcf2">更多...</a><br /></td></tr>
<tr class="separator:aa530a5e2363072f7d16b30481984fcf2 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac612bf6fac0d250d7ab99a371f799084 inherit pub_methods_class_actor"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#ac612bf6fac0d250d7ab99a371f799084">normalRefresh</a> ()</td></tr>
<tr class="memdesc:ac612bf6fac0d250d7ab99a371f799084 inherit pub_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">每帧刷新角色时调用  <a href="class_actor.html#ac612bf6fac0d250d7ab99a371f799084">更多...</a><br /></td></tr>
<tr class="separator:ac612bf6fac0d250d7ab99a371f799084 inherit pub_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_types_class_actor"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_actor')"><img src="closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="class_actor.html">Actor</a></td></tr>
<tr class="memitem:aca69a1a886cbf8c0a9ac8998d59bd1ea inherit pub_types_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="aca69a1a886cbf8c0a9ac8998d59bd1ea" name="aca69a1a886cbf8c0a9ac8998d59bd1ea"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#aca69a1a886cbf8c0a9ac8998d59bd1ea">Move_Type_Y</a> { <br />
&#160;&#160;<b>CLIMB_UP</b>
, <b>CLIMB_DOWN</b>
, <b>JUMP</b>
, <b>NONE_Y</b>
, <br />
&#160;&#160;<b>FORCE_SLOW_DOWN_Y</b>
<br />
 }</td></tr>
<tr class="memdesc:aca69a1a886cbf8c0a9ac8998d59bd1ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">角色在竖直方向移动的枚举类 UP : 向上移动或跳跃 DOWN : 向下移动 NONE_Y : 竖直方向不做出移动 <br /></td></tr>
<tr class="separator:aca69a1a886cbf8c0a9ac8998d59bd1ea inherit pub_types_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2315aa20cdd86580a3936e58f796289a inherit pub_types_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a2315aa20cdd86580a3936e58f796289a" name="a2315aa20cdd86580a3936e58f796289a"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_actor.html#a2315aa20cdd86580a3936e58f796289a">Move_Type_X</a> { <b>LEFT</b>
, <b>RIGHT</b>
, <b>NONE_X</b>
 }</td></tr>
<tr class="memdesc:a2315aa20cdd86580a3936e58f796289a"><td class="mdescLeft">&#160;</td><td class="mdescRight">角色在水平方向移动的枚举类 LEFT : 向左移动 RIGHT : 向右移动 NONE_X : 水平方向不做出移动 <br /></td></tr>
<tr class="separator:a2315aa20cdd86580a3936e58f796289a inherit pub_types_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_actor"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_actor')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="class_actor.html">Actor</a></td></tr>
<tr class="memitem:a237b05571701ac3726a41e66c99544e3 inherit pub_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a237b05571701ac3726a41e66c99544e3" name="a237b05571701ac3726a41e66c99544e3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isClimbing</b> = false</td></tr>
<tr class="separator:a237b05571701ac3726a41e66c99544e3 inherit pub_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_actor"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_actor')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_actor.html">Actor</a></td></tr>
<tr class="memitem:ad00c0e77802c210e9691977216c245f1 inherit pro_methods_class_actor"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:ad00c0e77802c210e9691977216c245f1 inherit pro_methods_class_actor"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_actor.html#ad00c0e77802c210e9691977216c245f1">fixValue</a> (T &amp;value, const T &amp;max_value, const T &amp;min_value)</td></tr>
<tr class="memdesc:ad00c0e77802c210e9691977216c245f1 inherit pro_methods_class_actor"><td class="mdescLeft">&#160;</td><td class="mdescRight">将超出范围的数值进行修正  <a href="class_actor.html#ad00c0e77802c210e9691977216c245f1">更多...</a><br /></td></tr>
<tr class="separator:ad00c0e77802c210e9691977216c245f1 inherit pro_methods_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_base_mob"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_base_mob')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_base_mob.html">BaseMob</a></td></tr>
<tr class="memitem:aea7885a1cf239f347577fe71f93fe6ff inherit pro_attribs_class_base_mob"><td class="memItemLeft" align="right" valign="top"><a id="aea7885a1cf239f347577fe71f93fe6ff" name="aea7885a1cf239f347577fe71f93fe6ff"></a>
<a class="el" href="class_mob_drop_bag.html">MobDropBag</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mobDropBag</b> = nullptr</td></tr>
<tr class="separator:aea7885a1cf239f347577fe71f93fe6ff inherit pro_attribs_class_base_mob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_actor"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_actor')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_actor.html">Actor</a></td></tr>
<tr class="memitem:afc5fc288077c4827f73b88f21af3cab6 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="afc5fc288077c4827f73b88f21af3cab6" name="afc5fc288077c4827f73b88f21af3cab6"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>id</b></td></tr>
<tr class="separator:afc5fc288077c4827f73b88f21af3cab6 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24060a1fbf9c41680dacac837342765a inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a24060a1fbf9c41680dacac837342765a" name="a24060a1fbf9c41680dacac837342765a"></a>
<a class="el" href="class_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><b>pos</b></td></tr>
<tr class="separator:a24060a1fbf9c41680dacac837342765a inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e3a6f3099e50caa260017b494344694 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a2e3a6f3099e50caa260017b494344694" name="a2e3a6f3099e50caa260017b494344694"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>width</b></td></tr>
<tr class="separator:a2e3a6f3099e50caa260017b494344694 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6199156eea95d8391f2f3d4b8ee23b7 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="ac6199156eea95d8391f2f3d4b8ee23b7" name="ac6199156eea95d8391f2f3d4b8ee23b7"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>height</b></td></tr>
<tr class="separator:ac6199156eea95d8391f2f3d4b8ee23b7 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6932c660e6b6293a66b393c3c9cb151a inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a6932c660e6b6293a66b393c3c9cb151a" name="a6932c660e6b6293a66b393c3c9cb151a"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>health</b></td></tr>
<tr class="separator:a6932c660e6b6293a66b393c3c9cb151a inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2f01fc2d80fe582ac93fb2c70f0f8ea inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="ac2f01fc2d80fe582ac93fb2c70f0f8ea" name="ac2f01fc2d80fe582ac93fb2c70f0f8ea"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>max_health</b></td></tr>
<tr class="separator:ac2f01fc2d80fe582ac93fb2c70f0f8ea inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e1e7093da338333150ffc4ebf9ee0a7 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a4e1e7093da338333150ffc4ebf9ee0a7" name="a4e1e7093da338333150ffc4ebf9ee0a7"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>magic</b></td></tr>
<tr class="separator:a4e1e7093da338333150ffc4ebf9ee0a7 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a462cabd2fce0f5bf5b187296de6e5088 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a462cabd2fce0f5bf5b187296de6e5088" name="a462cabd2fce0f5bf5b187296de6e5088"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>max_magic</b></td></tr>
<tr class="separator:a462cabd2fce0f5bf5b187296de6e5088 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6db038ba22078710d65a5dc759d9f04 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="ac6db038ba22078710d65a5dc759d9f04" name="ac6db038ba22078710d65a5dc759d9f04"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>gravity</b></td></tr>
<tr class="separator:ac6db038ba22078710d65a5dc759d9f04 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad21c7cfb6c6d2c3502151432981c1f76 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="ad21c7cfb6c6d2c3502151432981c1f76" name="ad21c7cfb6c6d2c3502151432981c1f76"></a>
<a class="el" href="class_vector.html">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><b>velocity</b></td></tr>
<tr class="separator:ad21c7cfb6c6d2c3502151432981c1f76 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d11ecf41759f6ab361131d9fe198a9e inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a7d11ecf41759f6ab361131d9fe198a9e" name="a7d11ecf41759f6ab361131d9fe198a9e"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>velocity_x_max</b></td></tr>
<tr class="separator:a7d11ecf41759f6ab361131d9fe198a9e inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a334ad35675a5e8789a82a14311764e inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a1a334ad35675a5e8789a82a14311764e" name="a1a334ad35675a5e8789a82a14311764e"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>velocity_y_max</b></td></tr>
<tr class="separator:a1a334ad35675a5e8789a82a14311764e inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21afdb7c3f1b7ba6587ccad1ec316b09 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a21afdb7c3f1b7ba6587ccad1ec316b09" name="a21afdb7c3f1b7ba6587ccad1ec316b09"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>jump_velocity_y_max</b></td></tr>
<tr class="separator:a21afdb7c3f1b7ba6587ccad1ec316b09 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a157ca504c2a7dd00734d17bd8c0a1c inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a9a157ca504c2a7dd00734d17bd8c0a1c" name="a9a157ca504c2a7dd00734d17bd8c0a1c"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>velocity_x_reduce_radio</b></td></tr>
<tr class="separator:a9a157ca504c2a7dd00734d17bd8c0a1c inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad12ca8dff66d97d9a89a36891cddab57 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="ad12ca8dff66d97d9a89a36891cddab57" name="ad12ca8dff66d97d9a89a36891cddab57"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>velocity_y_reduce_radio</b></td></tr>
<tr class="separator:ad12ca8dff66d97d9a89a36891cddab57 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2b8d945563dbf8ea5131ae751f7fa06 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="ae2b8d945563dbf8ea5131ae751f7fa06" name="ae2b8d945563dbf8ea5131ae751f7fa06"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>defensive_power</b> = 0.0</td></tr>
<tr class="separator:ae2b8d945563dbf8ea5131ae751f7fa06 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12ebe35a5786f3663b389c3d12d537f7 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a12ebe35a5786f3663b389c3d12d537f7" name="a12ebe35a5786f3663b389c3d12d537f7"></a>
<a class="el" href="class_base_weapon.html">BaseWeapon</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>weapon</b> = nullptr</td></tr>
<tr class="separator:a12ebe35a5786f3663b389c3d12d537f7 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06807bf72606658a517c754b2ba6dbb9 inherit pro_attribs_class_actor"><td class="memItemLeft" align="right" valign="top"><a id="a06807bf72606658a517c754b2ba6dbb9" name="a06807bf72606658a517c754b2ba6dbb9"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>face</b> = 1</td></tr>
<tr class="separator:a06807bf72606658a517c754b2ba6dbb9 inherit pro_attribs_class_actor"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >冰精灵 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ad91d05e67fff84ed47b7ff2d1c28ed92" name="ad91d05e67fff84ed47b7ff2d1c28ed92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad91d05e67fff84ed47b7ff2d1c28ed92">&#9670;&nbsp;</a></span>getGameObjectType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GameObject IceElemental::getGameObjectType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p >重载函数，返回怪物类型，用于控制动画和音频 </p><dl class="section return"><dt>返回</dt><dd></dd></dl>

<p>实现了 <a class="el" href="class_base_mob.html#a2e740d5c6375a9f225b0c3042404db3e">BaseMob</a>.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Actors/Mobs/<a class="el" href="_ice_elemental_8h_source.html">IceElemental.h</a></li>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Actors/Mobs/IceElemental.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
